package com.sky.utils;

import java.util.Random;

public class RandomNumberUtil {
    /**
     * 获取一个长度为17的随机数字字符串
     * @return
     */
    public static String generateOrderNumber(){
        Random r=new Random();
        StringBuilder sb=new StringBuilder();
        for (int i = 0; i < 17; i++) {
            int digit=r.nextInt(10);
            sb.append(digit);
        }
        return sb.toString();
    }
}
